home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / amaxx331.arc / MACROS.DOC < prev    next >
Text File  |  1990-10-22  |  5KB  |  136 lines

  1.  
  2.  
  3.     
  4.                              KEYSTROKE  MACROS
  5.                          SUPPLEMENTARY  INFORMATION
  6.                          
  7.                          
  8.    It is easy to build and invoke keystroke macros.  A macro is a string of
  9.    characters that is either bound to one of the ^A, .. ,^Z keys or defined
  10.    in a menu option using the ! character.  For example when the macro is 
  11.    bound to the ctrl-A key it is defined as
  12.  
  13.      ^A "string"
  14.  
  15.    where the macro string must be enclosed within quotes.
  16.  
  17.    If the macro is defined within a menu option it is defined as
  18.  
  19.       !string
  20.  
  21.    where the macro does NOT have to be enclsoed within quotes.
  22.  
  23.    The macro string is any sequence of characters that you could enter at
  24.    the keyboard.  The ctrl-key macros are defined in the DAT file
  25.    and use the '^' character prefix.  A macro is assigned to one of the
  26.    ctrl keys ^A, ^B, ..., ^Z in its definition.  There are therefore 26
  27.    different ctrl-macros that can be accessed by AUTOMAXX at a given time.
  28.    There are an unlimited number of macros that can be defined as menu
  29.    options.  A macro string is restricted to 50 characters.  The
  30.    following ctrl-macro listing is taken from the sample.dat file:
  31.  
  32.    ^A ""
  33.    ^B ""
  34.    ^C ""
  35.    ^D "spddg"
  36.    ^E "speasnag"
  37.    ^F ""
  38.    ^G ""
  39.    ^H ""
  40.    ^I ""
  41.    ^J ""
  42.    ^K ""
  43.    ^L "xlist \%\|\["
  44.    ^M ""
  45.    ^N "spnaseag"
  46.    ^O ""
  47.    ^P ""
  48.    ^Q "xq \%\|\["
  49.    ^R ""
  50.    ^S ""
  51.    ^T ""
  52.    ^U "xpkunzip \%\|"
  53.    ^V "xpkarc v \%\|"
  54.    ^W "xwp \%\|\["
  55.    ^X "xpkxarc \%\|"
  56.    ^Y ""
  57.    ^Z ""
  58.  
  59.  
  60.  
  61.  
  62.                          SOME USEFUL MACRO STRINGS 
  63.      
  64.      
  65.      "taoa\|ya"
  66.           copy all files in currrent directory to drive A
  67.      "ua...a\|q"
  68.           set the archive bit of tagged files in current directory
  69.      "ua.h..\|q"
  70.           set the hidden bit of tagged files in current directory
  71.      "uar..a\|q"
  72.           set the archive bit of tagged files in current directory
  73.           and make them read-only
  74.      "ud07-04-88\|t17:30:00\|q"
  75.           change date and time of tagged files to 5:30 pm, July 4, 1988
  76.     "usq"     
  77.           stamp all tagged files with system date & time 
  78.      "xprogname\|"
  79.           run user application PROGNAME.
  80.      "xprogname\%\|"
  81.           run user application PROGNAME with current file as argument.
  82.      "spnaseag"
  83.           sort files on name/ext in ascending order
  84.      "speasnag"
  85.            sort files on ext/name in ascending order
  86.      "speasddg"
  87.           sort files by extension (ascending order) and use date & time
  88.           (descending order) as secondary sort key.
  89.      "spddg"
  90.            sort files on date/time --  latest first
  91.      "spsag"
  92.            sort files in order of size
  93.      "su"
  94.            display files in DOS order
  95.      "sr"
  96.            sort files using default sort
  97.      "xpkunzip %\|"
  98.           unzip current ZIP file using the PKUNZIP utility.
  99.      "z a myarc\|"
  100.           add tagged file(s) to myarc.arc using the ZIP option. 
  101.      "\w\c\c\1"
  102.           From the menu screen select the first option in menu 3.
  103.      "\z\3\a\a"
  104.           From the menu screen select the third option in the last
  105.           defined menu.  Sound two bells when completed.
  106.  
  107.  
  108.  
  109.  
  110.                          Table of Ascii Sequences
  111.           + ------------------------------------------------------+
  112.           | sequence  |     key       | sequence  |   key         |
  113.           |-----------|---------------|-----------|---------------+
  114.           |     \[    |  <Esc>        |   \z      |  <End>        |
  115.           |     \i    |  <Ins>        |   \r      |  <PgUp>       |
  116.           |     \g    |  <Del>        |   \c      |  <PgDn>       |
  117.           |     \b    |  <Back Space> |   \1      |  <F1>         |
  118.           |     \t    |  <Tab>        |   \2      |  <F2>         |
  119.           |     \a    |  bell         |   \3      |  <F3>         |
  120.           |     \|    |  <return>     |   \4      |  <F4>         |
  121.           |     \%    |  filespec     |   \5      |  <F5>         |
  122.           |     \\    |  back slash   |   \6      |  <F6>         |
  123.           |     \e    |  cursor up    |   \7      |  <F7>         |
  124.           |     \s    |  cursor left  |   \8      |  <F8>         |
  125.           |     \d    |  cursor right |   \9      |  <F9>         |
  126.           |     \x    |  cursor down  |   \0      |  <F10>        |
  127.           |     \w    |  <Home>       |           |               |
  128.           +-------------------------------------------------------+
  129.                                
  130.  
  131.      The possibilities for your choice of macros are endless and are
  132.      only limited by your imagination and creativity.  You could for
  133.      example link several editors or utilities to the file manager
  134.      by macros.
  135.  
  136.